<?php
include_once('../fm/comm.php');
include_once('../comm.php');
$myt = new thunder();
$picid = isset($_POST['pid'])?$_POST['pid']:0;
if($picid==0){
    //echo '读取热区数据失败!';
    //exit;
}
$sql = "select * from  ".$_table_goods_source."  where img_id=".$picid;
$data = $myt->getOne($sql);
if($data){
    $result = $data['hotarea'];
}else{
    $result = $sql;   
}
echo $result;
?>